<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><?php function theme_footer_v() { if (!(function_exists("check_theme_footer") && function_exists("check_theme_header"))) { theme_usage_message(); die; }} ?>
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php if (is_home()) { echo bloginfo('name'); echo (' - '); bloginfo('description');} else if (is_404()) { bloginfo('name'); echo ' - Oops, This is a 404 Page'; } else if (is_search()) { bloginfo('name'); echo (' - Search Results');} else {bloginfo('name'); echo (' - '); wp_title(''); } ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<!--[if lte IE 6]>
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/ie6.css" type="text/css" media="screen" />
<![endif]-->
<!--[if lte IE 7]>
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/ie7.css" type="text/css" media="screen" />
<![endif]-->
<!--[if lte IE 8]>
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/ie8.css" type="text/css" media="screen" />
<![endif]-->
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/s3Slider.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/tabber.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#slider').s3Slider({
timeOut: 6000
});
});
</script>
<?php wp_head(); ?>
<?php $g_analytics = get_theme_option('google_analytics'); echo stripcslashes($g_analytics); ?>
</head>
<body id="<?php if( is_home() ) : ?>home<?php else : ?>nothome<?php endif; ?>">
<div id="layout">
	<div id="layout2">   
    	<div id="layout3">
            <div align="center">
                <!-- start Header -->
                <div id="header">
                    <div class="headiv">
                        <!-- start Topnav -->
                        <div id="topnav">
                            <div id="blogname">
                                <div id="blogname2">
<?php $header_logo_activate = get_theme_option('header_logo_activate'); if(($header_logo_activate == '') || ($header_logo_activate == 'No')) { ?>
<a href="<?php echo get_settings('home'); ?>" title="<?php bloginfo('name'); ?>"><img src="<?php bloginfo('template_url'); ?>/logo/logo.png" alt="<?php bloginfo('name'); ?>" /></a>
<?php } else { ?>
<a href="<?php echo get_settings('home'); ?>" title="<?php bloginfo('name'); ?>"><img src="<?php echo get_theme_option('logo_url'); ?>" alt="<?php bloginfo('name'); ?>" /></a>
<?php } ?>
                                </div>
								<div id="topbanner">
<?php $header_banner = get_theme_option('header_banner'); if($header_banner == '') { ?>
<a href="http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=alabuba-" target="_blank" rel="nofollow"><img src="http://tracking.hostgator.com/img/Shared/468x60.gif" alt="Hostgator" width="468" height="60" /></a>
<?php } else { ?>
<?php echo get_theme_option('header_banner'); ?>
<?php } ?>
								</div>
                                <div class="clearer"></div>
                            </div>
                            <div id="pages">
<ul class="secondary-nav">
<li class="<?php if (is_home()) { ?>cat-item current-cat<?php } else { ?>cat-item cat-item-<?php } ?>"><a href="<?php bloginfo('url'); ?>" title="Home">Home</a></li>

<?php
wp_list_categories('title_li='); ?>

</ul>

                                <div class="clearer"></div>
                            </div>
                        </div>
                        <!-- end Top Nav -->
                    </div>
                </div>
                <!-- end Header -->
                
                <!-- start Wrapper -->
                <div id="wrapper">
                    <div id="wrapper2">
                        <div id="container">
